package com.test.demo.domain;

import com.test.demo.util.GeometryTools;
import com.test.demo.util.SvgUtil;

import java.io.Serializable;

public class Robot3 extends Robot  implements Serializable {
    private static final long serialVersionUID = 1L;

    public Robot3(int x, int y) {

        super.width = 65;
        super.height = 50;
        super.x = x;
        super.y = y;
        super.name = "土";
        super.color = getColorByName();;
        shape = SvgUtil.loadSVGPathFromFile(SvgUtil.class.getResourceAsStream("/icons/robot-3.svg"));
        geometry = GeometryTools.shapeToGeometry(shape);
    }

    @Override
    public void die() {
        super.die();
    }



}
